/**
 * jims
 */
package com.jims.master.modules.doctor.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.doctor.dao.PatsInTransferringDao;
import com.jims.master.modules.doctor.entity.PatsInTransferring;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Service
 * @author 陈涛
 * @version 2017-03-28
 */
@Service
@Transactional(readOnly = true)
public class PatsInTransferringService extends CrudService<PatsInTransferringDao, PatsInTransferring> {

	public PatsInTransferring get(String id) {
		return super.get(id);
	}
	
	public List<PatsInTransferring> findList(PatsInTransferring patsInTransferring) {
		return super.findList(patsInTransferring);
	}
	
	public Page<PatsInTransferring> findPage(Page<PatsInTransferring> page, PatsInTransferring patsInTransferring) {
		return super.findPage(page, patsInTransferring);
	}
	
	@Transactional(readOnly = false)
	public int save(PatsInTransferring patsInTransferring) {
		return super.save(patsInTransferring);
	}
	
	@Transactional(readOnly = false)
	public int delete(PatsInTransferring patsInTransferring) {
		return super.delete(patsInTransferring);
	}
	
}